﻿@{
    Layout = "_LayoutPhone";
}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<header style="width: 100%; height: 4rem; background-color: rgb(255,135,0);top:0px;position: fixed;z-index: 1;">
    <a href="javascript:void(window.location.href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww500458ad942a211f&redirect_uri=http://web.xyufu.cn/PhoneShouYe/ShouYe&response_type=code&scope=snsapi_privateinfo&agentid=1000002&state=STATE#wechat_redirect')">
        <img src="~/GoTRI/img/left.png" alt="" style="float: left;
            width: 1rem;
            height: 2rem;
            margin-left: 1rem;
            margin-top: 1rem;
            position:absolute;
	        left:0px;
	        top:0px;
	        z-index:1;">
    </a>
    <div style=" width: 100%; height: 4rem; line-height: 4rem; text-align: center; color: #fff; font-size: 1.3rem;">新闻列表</div>
</header>
<div style="width:1px;padding-bottom:50px"></div>
<script>
    $(".yi").attr("hidden", "");
</script>
<div class="container mt-4 main-container">
    <div class="card mb-4">
        <div style="padding:10px 5px;margin:0px;width:100%">
            <h5 class="card-title mb-0" style="color:#FFA500;border-bottom: 3px solid rgb(240,123,0);"> 新闻列表</h5>
        </div>
        <div id="liebiao">

        </div>
    </div>
</div>
<br />
<br />
<br />
<br />
<script>
    $(document).ready(function () {
        liebiao();
    })
    //列表
    function liebiao() {
        $.ajax({
            type: 'POST',
            url: '../PhoneShouYe/GetXinWenList',
            async: false,
            dataType: 'text',
            data: {},
            success: function (date) {
                $("#liebiao").html(date);
            },
        })
    }

    function tiao(id) {
        window.location.href = 'XinWenXiangXi?id=' + id + '&panduan=xinwen';
    }
</script>